<?php
/*********************************************
 *  CPG Dragonfly™ CMS
 *********************************************
	Copyright © since 2010 by CPG-Nuke Dev Team
	http://dragonflycms.org

	Dragonfly is released under the terms and conditions
	of the GNU GPL version 2 or any later version
*/

require_once(dirname(dirname(__FILE__)).'/poodle/bootstrap.php');

class Dragonfly extends Poodle
{
	const
		VERSION = '10.0.9.42';

	public static function isDemo()
	{
		return (!empty($_SESSION['DF_VISITOR']->admin) && $_SESSION['DF_VISITOR']->admin->isDemo());
	}
}
